home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / BASIC / LIB / EVENTSHELL / DOCS / OLE < prev    next >
Text File  |  1996-04-11  |  2KB  |  72 lines

  1. This extension library should be installed using the
  2. LIBRARY command and initialised with a call to
  3. FN_shell_OLELib_Init. This call must be made AFTER
  4. PROCshell_Init has been called.
  5.  
  6. --------------------------------------------------------
  7.  
  8. FN_shell_OLE_Init
  9. =>    None
  10.  
  11. <=    bool    TRUE if module initialised correctly
  12.          FALSE otherwise
  13.  
  14. Should be called before making calls to routines in
  15. this library.
  16.  
  17. --------------------------------------------------------
  18.  
  19. PROCshell_OLELinkFile()
  20. =>    str    full name of file to 'watch'
  21.     str    function name to call when 'watched'
  22.          file datestamp changes
  23.  
  24. An error will be generated if file to link does not
  25. exist, or memory claim fails.
  26.  
  27. User FN ( shell_OLELinkFile )
  28. =>    str    full filename of changed file
  29.  
  30.  
  31. --------------------------------------------------------
  32.  
  33. PROCshell_OLEDeLinkFile()
  34. =>    str    name of file to delink
  35.  
  36. Removes a filename from the list of 'watched' files.
  37. No error generated if file is not in the list.
  38.  
  39. --------------------------------------------------------
  40.  
  41. FNshell_OLEFileStatus()
  42. =>    str    name of file
  43.  
  44. <=    int    status flag
  45.  
  46. --------------------------------------------------------
  47.  
  48. FNshell_OLEGetNrOfLinkedFiles
  49. =>    None
  50.  
  51. <=    int    number of linked files
  52.  
  53. --------------------------------------------------------
  54.  
  55. FNshell_OLEInProgress
  56. =>    None
  57.  
  58. <=    bool    TRUE if files are being externally
  59.          edited FALSE otherwise
  60.  
  61. Useful for checking if OLE data is being edited
  62. before shutting down the application.
  63.  
  64. --------------------------------------------------------
  65.  
  66. PROCshell_OLEScanLinkedFiles
  67. =>    None
  68.  
  69. Call every 1 or 2 seconds via PollIdle to check
  70. the datestamps of 'watched' files.
  71.  
  72. --------------------------------------------------------